package com.xinruke.hostels.reservation.user.interfaces.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName LoginValidateResultDTO
 * @CreateDate 2019/6/15
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 登录验证结果响应
 */
@ApiModel("登录验证结果响应")
public class LoginReservationValidateResultDTO {
    @ApiModelProperty("登录账号")
    @NotBlank(message = "登录账号不能为空")
    private String loginCode;
    @ApiModelProperty("姓名")
    private String xingming;

    public String getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(String loginCode) {
        this.loginCode = loginCode;
    }

    public String getXingming() {
        return xingming;
    }

    public void setXingming(String xingming) {
        this.xingming = xingming;
    }
}
